﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DddCms.Models.UIComponent.Window
{
    public enum WindowPositionViewModel
    {
        Left,
        Right,
        Auto,
        FullSize
    }

    public static class WindowPositionViewModelExtension
    {
        public static bool isAuto(this WindowPositionViewModel model)
        {
            if (model == WindowPositionViewModel.FullSize)
                return true;
            else
                return false;
        }
    }
}